package com.level2app.config;

import com.level2app.base.MyApplication;
import com.level2app.utils.AppUtils;

public class Constant {
    //=======================================================================友盟================================================================================
    /**
     * 友盟appKey
     */
    public static final String UMENG_APP_KEY = "60a3516b53b672649901ec6e";

    //=======================================================================WeChat==============================================================================
    /**
     * appId 微信分配的公众账号ID
     */
    public static final String WE_CHAT_APP_ID = "wx9af35e13ab141973";
    /**
     * 商户号 微信分配的公众账号ID
     */
    public static final String WE_CHAT_MCH_ID = "1325136201";
    public static final String WE_CHAT_APP_SECRET = "f6dbeac16eba6c26b18d5d53b75dd6ed";

    //=======================================================================QQ================================================================================
    public static final String QQ_APP_ID = "1105720800";
    public static final String QQ_APP_KEY = "NonEQ12dibsVjiwf";

    //=======================================================================微博================================================================================
    /**
     * 微博
     */
    public static final String WEI_BO_APP_ID = "3821433517";
    public static final String WEI_BO_APP_SECRET = "1ac8dbb8dcd3d0658167dc8b2211aa0a";

    /**
     * 接口返回成功值
     */
    public static final int SUCCESS = 1;
    /**
     * 是否首次启动
     */
    public static boolean isFirst = true;
    public static final int DELAY_CLICK = 600;
    /**
     * 是否退出登录
     */
    public static boolean isLogout = false;
    /**
     * 退出登录
     */
    public static final String logout = "logout";

    /**
     * 版本号
     */
    public static final String VERSION = "V" + AppUtils.getVersionName(MyApplication.getInstance());
    public static final String PACKAGE = MyApplication.getInstance().getPackageName();
    public static final String APP_PROVIDER = PACKAGE + ".provider";

    /**
     * token失效是否跳转到登录
     */
    public static boolean isJumpToLogin = true;

    /**
     * 服务介绍
     */
    public static String serviceInstruction = "";

    /**
     * 是否是从支付跳转到主页
     */
    public static boolean isFromPay = false;

    /**
     * 我的订单页tab位置
     */
    public static int currentPosition = 0;

    /**
     * 主页底部tab位置
     */
    public static int mainCurrentPosition = 0;

    /**
     * 是否是登录的token（KEY dd2b3560-94bc-4925-94f7-ea78e284388c）
     */
    public static boolean isLoginToken = false;

    //邀请码
    public static String REFERRAL_CODE = "referral_code";
    //邮箱
    public static String EMAIL = "email";
    //是否是登录
    public static String IS_LOGIN = "is_login";
    //token
    public static String USER_ACCESS = "user_access";
    public static String USER_REFRESH = "user_refresh";
}
